package nc.ui.tc.tools.pubclass;

import java.util.HashMap;

public class NcSession {
	private NcSession() {
	}

	private static NcSession session = new NcSession();

	protected static HashMap<String, Object> map = new HashMap<String, Object>();

	public static Object getAttribute(String key) {
		return session.map.get(key);
	}

	public static void setAttribute(String key, Object value) {
		session.map.put(key, value);
	}

	public static void removeAttribute(String key) {
		session.map.remove(key);
	}
}
